/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pa165.ddtroopsconsole;

import com.beust.jcommander.Parameter;
import com.beust.jcommander.Parameters;

/**
 *
 * @author Mattysek
 */

@Parameters(commandDescription = "Deletes skill or race from database.")
public class DeleteCommand 
{
    @Parameter(names = { "-type", "-t" }, description = "Object Type", validateWith = TypeValidator.class, required = true)
    private String type;
    
    @Parameter(names = { "-id" }, description = "Object id", required = true)
    private Long id;

    public String getType() {
        return type;
    }

    public Long getId() {
        return id;
    }
}
